Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterCodecs Class > Decompress Method : Decompress(Object,Byte[],Int32,Int32,Int32,Int32,Int32,Int32,CodecsDecompressDataFlags) Method |
Flags that indicate whether which part of a strip or tile is being processed. Possible values are:
Value | Meaning |
---|---|
CodecsDecompressDataFlags.Start | Processing the beginning of a tile or strip |
CodecsDecompressDataFlags.End | Processing the end of a tile or strip |
CodecsDecompressDataFlags.Complete | Process a complete tile or strip. This is the same as CodecsDecompressDataFlags.Start | CodecsDecompressDataFlags.End |
public void Decompress( object decompressContext, byte[] data, int dataOffset, int dataLength, int width, int height, int row, int column, CodecsDecompressDataFlags flags )
'Declaration
Public Overloads Sub Decompress( _ ByVal decompressContext As Object, _ ByVal data() As Byte, _ ByVal dataOffset As Integer, _ ByVal dataLength As Integer, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal flags As CodecsDecompressDataFlags _ )
'Usage
Dim instance As RasterCodecs Dim decompressContext As Object Dim data() As Byte Dim dataOffset As Integer Dim dataLength As Integer Dim width As Integer Dim height As Integer Dim row As Integer Dim column As Integer Dim flags As CodecsDecompressDataFlags instance.Decompress(decompressContext, data, dataOffset, dataLength, width, height, row, column, flags)
public void Decompress( object decompressContext, byte[] data, int dataOffset, int dataLength, int width, int height, int row, int column, CodecsDecompressDataFlags flags )
- (BOOL)decompress:(NSObject *)decompressContext data:(const unsigned char *)data dataOffset:(NSUInteger)dataOffset dataLength:(size_t)dataLength width:(NSInteger)width height:(NSInteger)height row:(NSInteger)row column:(NSInteger)column flags:(LTCodecsDecompressDataFlags)flags error:(NSError**)error
public void decompress(Object decompressContext, byte data[], int dataOffset, int dataLength, int width, int height, int row, int column, CodecsDecompressDataFlags flags)
function Leadtools.Codecs.RasterCodecs.Decompress(Object,Byte[],Int32,Int32,Int32,Int32,Int32,Int32,CodecsDecompressDataFlags)( decompressContext , data , dataOffset , dataLength , width , height , row , column , flags )
public: void Decompress( Object^ decompressContext, array<byte>^ data, int dataOffset, int dataLength, int width, int height, int row, int column, CodecsDecompressDataFlags flags )
Flags that indicate whether which part of a strip or tile is being processed. Possible values are:
Value | Meaning |
---|---|
CodecsDecompressDataFlags.Start | Processing the beginning of a tile or strip |
CodecsDecompressDataFlags.End | Processing the end of a tile or strip |
CodecsDecompressDataFlags.Complete | Process a complete tile or strip. This is the same as CodecsDecompressDataFlags.Start | CodecsDecompressDataFlags.End |
Note that you must call the StartDecompress method before using this method, and you must call the StopDecompress method to end the decompression process.
If data does not point to a full tile or strip, set flags to CodecsDecompressDataFlags.Start when the tile/strip begins and set it to CodecsDecompressDataFlags.End when the tile/strip ends.